# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.6.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QFrame, QHBoxLayout,
    QLabel, QLineEdit, QMainWindow, QMenu,
    QMenuBar, QPlainTextEdit, QPushButton, QRadioButton,
    QSizePolicy, QSpacerItem, QSpinBox, QStatusBar,
    QVBoxLayout, QWidget)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(800, 600)
        self.action_about = QAction(MainWindow)
        self.action_about.setObjectName(u"action_about")
        self.action_about_qt = QAction(MainWindow)
        self.action_about_qt.setObjectName(u"action_about_qt")
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_7 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.frame_2 = QFrame(self.centralwidget)
        self.frame_2.setObjectName(u"frame_2")
        self.frame_2.setFrameShape(QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QFrame.Raised)
        self.verticalLayout_2 = QVBoxLayout(self.frame_2)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.r_url = QRadioButton(self.frame_2)
        self.r_url.setObjectName(u"r_url")
        self.r_url.setChecked(True)

        self.verticalLayout_2.addWidget(self.r_url)

        self.r_xml = QRadioButton(self.frame_2)
        self.r_xml.setObjectName(u"r_xml")
        self.r_xml.setChecked(False)

        self.verticalLayout_2.addWidget(self.r_xml)

        self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout_2.addItem(self.verticalSpacer_2)


        self.horizontalLayout_2.addWidget(self.frame_2)

        self.verticalLayout_3 = QVBoxLayout()
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.url = QLineEdit(self.centralwidget)
        self.url.setObjectName(u"url")

        self.verticalLayout_3.addWidget(self.url)

        self.input = QPlainTextEdit(self.centralwidget)
        self.input.setObjectName(u"input")

        self.verticalLayout_3.addWidget(self.input)


        self.horizontalLayout_2.addLayout(self.verticalLayout_3)

        self.horizontalLayout_2.setStretch(0, 1)
        self.horizontalLayout_2.setStretch(1, 9)

        self.verticalLayout_7.addLayout(self.horizontalLayout_2)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.frame_3 = QFrame(self.centralwidget)
        self.frame_3.setObjectName(u"frame_3")
        self.frame_3.setFrameShape(QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QFrame.Raised)
        self.verticalLayout_5 = QVBoxLayout(self.frame_3)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.verticalLayout_5.setContentsMargins(-1, 2, -1, 2)
        self.c_format = QCheckBox(self.frame_3)
        self.c_format.setObjectName(u"c_format")
        self.c_format.setChecked(True)

        self.verticalLayout_5.addWidget(self.c_format)


        self.horizontalLayout_3.addWidget(self.frame_3)

        self.soup = QLineEdit(self.centralwidget)
        self.soup.setObjectName(u"soup")

        self.horizontalLayout_3.addWidget(self.soup)

        self.b_topology = QPushButton(self.centralwidget)
        self.b_topology.setObjectName(u"b_topology")
        self.b_topology.setEnabled(False)

        self.horizontalLayout_3.addWidget(self.b_topology)

        self.horizontalLayout_3.setStretch(0, 1)
        self.horizontalLayout_3.setStretch(1, 9)

        self.verticalLayout_7.addLayout(self.horizontalLayout_3)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.frame = QFrame(self.centralwidget)
        self.frame.setObjectName(u"frame")
        self.frame.setFrameShape(QFrame.StyledPanel)
        self.frame.setFrameShadow(QFrame.Raised)
        self.verticalLayout = QVBoxLayout(self.frame)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.r_select = QRadioButton(self.frame)
        self.r_select.setObjectName(u"r_select")
        self.r_select.setChecked(True)

        self.verticalLayout.addWidget(self.r_select)

        self.r_find = QRadioButton(self.frame)
        self.r_find.setObjectName(u"r_find")

        self.verticalLayout.addWidget(self.r_find)

        self.r_findall = QRadioButton(self.frame)
        self.r_findall.setObjectName(u"r_findall")

        self.verticalLayout.addWidget(self.r_findall)

        self.line_2 = QFrame(self.frame)
        self.line_2.setObjectName(u"line_2")
        self.line_2.setFrameShape(QFrame.HLine)
        self.line_2.setFrameShadow(QFrame.Sunken)

        self.verticalLayout.addWidget(self.line_2)

        self.frame_5 = QFrame(self.frame)
        self.frame_5.setObjectName(u"frame_5")
        self.frame_5.setFrameShape(QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QFrame.Raised)
        self.verticalLayout_8 = QVBoxLayout(self.frame_5)
        self.verticalLayout_8.setSpacing(3)
        self.verticalLayout_8.setObjectName(u"verticalLayout_8")
        self.verticalLayout_8.setContentsMargins(0, 0, 0, 0)
        self.label_2 = QLabel(self.frame_5)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setAlignment(Qt.AlignCenter)

        self.verticalLayout_8.addWidget(self.label_2)

        self.s_return = QSpinBox(self.frame_5)
        self.s_return.setObjectName(u"s_return")
        self.s_return.setMaximum(5)
        self.s_return.setValue(1)

        self.verticalLayout_8.addWidget(self.s_return)


        self.verticalLayout.addWidget(self.frame_5)

        self.verticalSpacer = QSpacerItem(20, 124, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer)

        self.frame_attr = QFrame(self.frame)
        self.frame_attr.setObjectName(u"frame_attr")
        self.frame_attr.setFrameShape(QFrame.StyledPanel)
        self.frame_attr.setFrameShadow(QFrame.Raised)
        self.verticalLayout_4 = QVBoxLayout(self.frame_attr)
        self.verticalLayout_4.setSpacing(3)
        self.verticalLayout_4.setObjectName(u"verticalLayout_4")
        self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.label = QLabel(self.frame_attr)
        self.label.setObjectName(u"label")
        self.label.setAlignment(Qt.AlignCenter)

        self.verticalLayout_4.addWidget(self.label)

        self.e_attr = QLineEdit(self.frame_attr)
        self.e_attr.setObjectName(u"e_attr")

        self.verticalLayout_4.addWidget(self.e_attr)


        self.verticalLayout.addWidget(self.frame_attr)


        self.horizontalLayout.addWidget(self.frame)

        self.output = QPlainTextEdit(self.centralwidget)
        self.output.setObjectName(u"output")

        self.horizontalLayout.addWidget(self.output)

        self.frame_4 = QFrame(self.centralwidget)
        self.frame_4.setObjectName(u"frame_4")
        self.frame_4.setFrameShape(QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QFrame.Raised)
        self.verticalLayout_6 = QVBoxLayout(self.frame_4)
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.r_show_all = QRadioButton(self.frame_4)
        self.r_show_all.setObjectName(u"r_show_all")

        self.verticalLayout_6.addWidget(self.r_show_all)

        self.r_show_all_attrs = QRadioButton(self.frame_4)
        self.r_show_all_attrs.setObjectName(u"r_show_all_attrs")

        self.verticalLayout_6.addWidget(self.r_show_all_attrs)

        self.r_show_all_text = QRadioButton(self.frame_4)
        self.r_show_all_text.setObjectName(u"r_show_all_text")

        self.verticalLayout_6.addWidget(self.r_show_all_text)

        self.line = QFrame(self.frame_4)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)

        self.verticalLayout_6.addWidget(self.line)

        self.r_show_one = QRadioButton(self.frame_4)
        self.r_show_one.setObjectName(u"r_show_one")
        self.r_show_one.setChecked(True)

        self.verticalLayout_6.addWidget(self.r_show_one)

        self.r_show_attrs = QRadioButton(self.frame_4)
        self.r_show_attrs.setObjectName(u"r_show_attrs")

        self.verticalLayout_6.addWidget(self.r_show_attrs)

        self.r_show_text = QRadioButton(self.frame_4)
        self.r_show_text.setObjectName(u"r_show_text")

        self.verticalLayout_6.addWidget(self.r_show_text)

        self.verticalSpacer_3 = QSpacerItem(20, 85, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout_6.addItem(self.verticalSpacer_3)

        self.frame_6 = QFrame(self.frame_4)
        self.frame_6.setObjectName(u"frame_6")
        self.frame_6.setFrameShape(QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QFrame.Raised)
        self.verticalLayout_9 = QVBoxLayout(self.frame_6)
        self.verticalLayout_9.setSpacing(3)
        self.verticalLayout_9.setObjectName(u"verticalLayout_9")
        self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
        self.label_3 = QLabel(self.frame_6)
        self.label_3.setObjectName(u"label_3")

        self.verticalLayout_9.addWidget(self.label_3)

        self.b_copy_json = QPushButton(self.frame_6)
        self.b_copy_json.setObjectName(u"b_copy_json")
        self.b_copy_json.setMinimumSize(QSize(40, 0))
        font = QFont()
        font.setPointSize(8)
        self.b_copy_json.setFont(font)

        self.verticalLayout_9.addWidget(self.b_copy_json)

        self.b_copy_soup = QPushButton(self.frame_6)
        self.b_copy_soup.setObjectName(u"b_copy_soup")
        self.b_copy_soup.setMinimumSize(QSize(40, 0))
        self.b_copy_soup.setFont(font)

        self.verticalLayout_9.addWidget(self.b_copy_soup)


        self.verticalLayout_6.addWidget(self.frame_6)


        self.horizontalLayout.addWidget(self.frame_4)

        self.horizontalLayout.setStretch(0, 1)
        self.horizontalLayout.setStretch(1, 9)
        self.horizontalLayout.setStretch(2, 1)

        self.verticalLayout_7.addLayout(self.horizontalLayout)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 800, 23))
        self.menu = QMenu(self.menubar)
        self.menu.setObjectName(u"menu")
        self.menu_2 = QMenu(self.menubar)
        self.menu_2.setObjectName(u"menu_2")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.menubar.addAction(self.menu.menuAction())
        self.menubar.addAction(self.menu_2.menuAction())
        self.menu_2.addAction(self.action_about)
        self.menu_2.addAction(self.action_about_qt)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"\u57fa\u4e8e PySide6 \u7684 beautifulSoup \u5de5\u5177", None))
        self.action_about.setText(QCoreApplication.translate("MainWindow", u"\u5173\u4e8e", None))
        self.action_about_qt.setText(QCoreApplication.translate("MainWindow", u"\u5173\u4e8e&Qt", None))
        self.r_url.setText(QCoreApplication.translate("MainWindow", u"&url", None))
        self.r_xml.setText(QCoreApplication.translate("MainWindow", u"html/&xml", None))
        self.url.setPlaceholderText(QCoreApplication.translate("MainWindow", u"http://", None))
        self.c_format.setText(QCoreApplication.translate("MainWindow", u"format", None))
        self.b_topology.setText(QCoreApplication.translate("MainWindow", u"\u62d3\u6251", None))
        self.r_select.setText(QCoreApplication.translate("MainWindow", u"select", None))
        self.r_find.setText(QCoreApplication.translate("MainWindow", u"f&ind", None))
        self.r_findall.setText(QCoreApplication.translate("MainWindow", u"fin&dall", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"\u00b7\\n\u00b7", None))
        self.label.setText(QCoreApplication.translate("MainWindow", u"\u00b7attr\u00b7", None))
        self.e_attr.setText("")
        self.e_attr.setPlaceholderText(QCoreApplication.translate("MainWindow", u"src,alt", None))
        self.r_show_all.setText(QCoreApplication.translate("MainWindow", u"&all", None))
        self.r_show_all_attrs.setText(QCoreApplication.translate("MainWindow", u"att&rs", None))
        self.r_show_all_text.setText(QCoreApplication.translate("MainWindow", u"&text", None))
        self.r_show_one.setText(QCoreApplication.translate("MainWindow", u"o&ne", None))
        self.r_show_attrs.setText(QCoreApplication.translate("MainWindow", u"attrs", None))
        self.r_show_text.setText(QCoreApplication.translate("MainWindow", u"text", None))
        self.label_3.setText(QCoreApplication.translate("MainWindow", u"\u00b7copy\u00b7", None))
        self.b_copy_json.setText(QCoreApplication.translate("MainWindow", u"JSON", None))
        self.b_copy_soup.setText(QCoreApplication.translate("MainWindow", u"Soup", None))
        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u83dc\u5355", None))
        self.menu_2.setTitle(QCoreApplication.translate("MainWindow", u"\u5e2e\u52a9", None))
    # retranslateUi

